---
version: "2"
services:
  registry:
    image: registry:2
    restart: always
    volumes:
      - "./certs:/certs"
    environment:
      - REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry.crt 
      - REGISTRY_HTTP_TLS_KEY=/certs/registry.key
    ports:
        - "5000:5000"
